import layoutHeaderAside from '@/layout/header-aside'

const meta = {requiresAuth: true}

export default {
    path: '/drivermana',
    name: 'drivermana',
    meta,
    redirect: {name: 'drivermana-driverfile'},
    component: layoutHeaderAside,
    children: (pre => [
        {
            path: 'driverfile',
            name: `${pre}driverfile`,
            component: () => import('@/pages/driverFile/index'),
            meta: {...meta, title: '司机档案'}
        },
    ])('drivermana-')
}
